﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SmartSpace.Cwt;

namespace WebApp.Parts
{
    public partial class PartnerLinkListPart : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                ICwtService service = Global.Get<ICwtService>();
                this._ctlRepeater.DataSource = service.FindPartnerLinks();
                this._ctlRepeater.DataBind();
            }
        }
    }
}